home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ For TASM / ALIASDOS.PAK / MAKEFILE < prev    next >
Text File  |  1996-02-21  |  824b  |  34 lines

  1. #  Makefile for aliasdos example.
  2. #
  3. #  Copyright (c) 1996 by Borland International, Inc.
  4. #
  5. #  Usage:   make -B         # aliasdos example
  6. #           make -B -DDEBUG # aliasdos example with debug info
  7. #
  8.  
  9. !if $d(DEBUG)
  10. BCCDEBUG=-v
  11. ASMDEBUG=/zi
  12. !else
  13. BCCDEBUG=
  14. ASMDEBUG=
  15. !endif
  16.  
  17. !if $d(MAKEDIR)
  18. THEINCLUDE=-I$(MAKEDIR)\..\include -L$(MAKEDIR)\..\lib
  19. !else
  20. THEINCLUDE=
  21. !endif
  22.  
  23. alias1: library.lib
  24.         BCC $(BCCDEBUG) $(THEINCLUDE) olduser.c   library.lib
  25.         BCC $(BCCDEBUG) $(THEINCLUDE) newuser.c   library.lib
  26.         BCC $(BCCDEBUG) $(THEINCLUDE) cppuser.cpp library.lib
  27.  
  28. library.lib: library.c alias.asm
  29.         BCC -c $(BCCDEBUG) $(THEINCLUDE) library.c
  30.         TASM /ml $(ASMDEBUG) alias.asm
  31.         if exist library.lib del library.lib
  32.         tlib library.lib +library +alias
  33.  
  34.